<!-- index2.html -->
<!DOCTYPE html>
<html>
<head>
    <style>
  .big-font {
    font-size: 50px; /* 设置字体大小为24像素 */
  }
    </style>
</head>
<body>
<button type="button" onclick="callArkTS()" class="big-font">Click Me!</button>
<p id="demo" class="big-font"></p>
<script>
    function callArkTS() {
        let str = testObjName.test();
        document.getElementById("demo").innerHTML = str;
        console.info('ArkTS Hello World! :' + str);
    }
</script>
</body>
</html>